﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace KorkolaskuriBL
{
    public interface IPaymentStrategy
    {
        string Name { get; }

        IEnumerable<LoanPayment> CalculatePayments(
            double initialBalance,
            double interestRate,
            int interestPeriods,
            int paymentPeriods,
            double periodicPayment);

        double CalculatePeriodicPayment(
            double initialBalance,
            double interestRate,
            int interestPeriods,
            int paymentPeriods);

        int CalculatePaymentPeriods(
            double initialBalance,
            double interestRate,
            int interestPeriods,
            double periodicPayment);
    }
}
